package com.gopay.common.log.ot.portal.user;

import com.gopay.common.constants.txncd.IntTxnCd;
import com.gopay.common.log.constants.LogOTUserCd;
import com.gopay.common.log.ot.LogOTUserVO;

public class LogGoPayVO extends LogOTUserVO{

	String intTxnCd;
	@Override
	public String getOperTypeCd() {
		 return LogOTUserCd.GO_PAY_DPS.value;
	}
	public LogGoPayVO(String intTxnCd){
		this.intTxnCd=intTxnCd;
	}
	@Override
    public String toString() {
		 if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01606.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行信用卡还款";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01608.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】发红包";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01611.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行话费充值";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01612.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行流量充值";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01613.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行加油卡充值";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01614.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行一分钱支付";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01615.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行理财支付";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._00800.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行提现";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01603.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行好友转账";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._01605.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】手机转账到银行卡";
		 }else if(intTxnCd != null && intTxnCd.equals(IntTxnCd._00500.value)){
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行账户充值";
		 }else{
			 return "客户【" + super.getLaunchCustName() + "】-ID:【" + super.getLaunchCustId() + "】进行其他支付";
		 }
	    }

}
